<script type="text/javascript">
<!--
$(function() {
		$('#a_start').datepicker({
			changeMonth: true,
			changeYear: true,
                        dateFormat: 'yy-mm-dd',
			showButtonPanel: false
		});
                $('#a_end').datepicker({
			changeMonth: true,
			changeYear: true,
                        dateFormat: 'yy-mm-dd',
			showButtonPanel: false
		});
	});
//-->
</script>

<div id="page-content">
    <div id="page-content-wrapper">

        <div class="inner-page-title">
            <h2>Class management</h2>
            <span>Add Class Information</span>
        </div>
        <div id="add-users-data">
            <div class="column-content-box">

                <div class="content-box content-box-header ui-corner-all">

                        <div class="ui-state-default ui-corner-top ui-box-header">
                            <span class="ui-icon float-left ui-icon-notice"></span>
							Class Information
                        </div>
                        <div class="content-box-wrapper">
                           <?php if(!empty($this->messages)) {
								?>
								<div class="response-msg success ui-corner-all">
								
								<?php 
								foreach ($this->messages as $message)
								{
									?>
									<span><?php echo $message ?></span>
									<?php 
								}
								?>
									Admission details saved successfully
								</div>
								
								<?php 
							}?>
                            <form class="forms" id="academicform" method="post" action="/admin/academic/save">
                            <fieldset>
                                <ul>
                                    <li>
                                        <label class="desc" for="a_start">Academic year Starts on:</label>
                                        <div><input id="a_start" class="field text full" name="a_start" /></div>
                                    </li>
                                    <li>
                                        <label class="desc" for="a_end">Academic year Ends on:</label>
                                        <div><input id="a_end" class="field text full" name="a_end" /></div>
                                    </li>
                                    <li>
                                        <input class="submit ui-state-default ui-corner-all float-right ui-button" type="submit" value="Submit"/>
                                    </li>
                                </ul>
                            </fieldset>
                             </form>
                        </div>




                </div>
            </div>
        </div>

        <table id="academic_list" ></table>
				<div id="academic_list_pager"></div>
    </div>
</div>